const {
	UrlEnum
} = require('../../enum')

module.exports = class HomeRequest {

	// 获取公司动态 
	static pageCompanyDynamic(page = 1) {
		return uniCloud.httpclient.request(
			UrlEnum.COMPANY_DYNAMIC_URL, {
				data: {
					page
				},
				dataType: "json", // json 数据返回
				methods: "GET",
			}
		)

	}
	// 获取媒体报道 
	static pageMediaReport(page = 1) {
		return uniCloud.httpclient.request(
			UrlEnum.MEDIA_REPORT_URL, {
				data: {
					page
				},
				dataType: "json", // json 数据返回
				methods: "GET",
			}
		)

	}
	// 行业干货 
	static pageIndustryNews(page = 1) {
		return uniCloud.httpclient.request(
			UrlEnum.INDUSTRY_NEWS_URL, {
				data: {
					page
				},
				dataType: "json", // json 数据返回
				methods: "GET",
			}
		)

	}
	// 行业资讯 
	static pageIndustyInformation(page = 1) {
		return uniCloud.httpclient.request(
			UrlEnum.INDUSTRY_INFORMATION_URL, {
				data: {
					page
				},
				dataType: "json", // json 数据返回
				methods: "GET",
			}
		)

	}

}
